<%@ Control Language="C#" AutoEventWireup="true" CodeFile="J_Partner.ascx.cs" Inherits="Pub_Module_J_Partner" %>

<script language="javascript" type="text/javascript">
var Url='<%= ResolveClientUrl("~/")%>';
$(document).ready(function() {                                        
                    LoadingAjaxPartner();                 
                    GetAjaxPartner()
                      
  });           
 
function GetAjaxPartner()
{
        $.ajax({ 
                               type: "GET", 
                               url: Url+"Pub/Ajax/AjaxQuery.aspx?type=GetAds&KindNo=P", 
                               success: function(resp)
                               { 
                                        $("#<%= divLoading.ClientID%>").hide();
                                      $("#<%= divData.ClientID%>").html(resp);                                                        
                               } 
                        });        
}

function LoadingAjaxPartner()         
{
    $(document).ready(function() {
        $('<div class="lof41div-loading"></div>')
           
        .ajaxStart(function() 
        {
            $(this).show();
        }).ajaxStop(function() 
        {
            $(this).hide();
        });
    });

}     
</script>

<asp:Panel ID="divLoading" class="div-loading" runat="server" Style="background-color: #ffffff; width:100%; height:20px">
</asp:Panel>
<asp:Panel ID="divData" runat="server" style="text-align:left; padding-bottom:5px" >
</asp:Panel>


